/*
 * GeoVISTA Center (Penn State, Dept. of Geography)
 * Copyright (c), 2003-2011,  Jin Chen and Alan M. MacEachren, GeoVISTA Center, Penn State University
 * Licensed under Simplified BSD License
 *
 *
 * @author: jin Chen 
 * @date: May 30, 2005$
 * @version: 1.0
 */
package edu.psu.geovista.app.hce.clustering.hierarchical.linkage;

import edu.psu.geovista.app.hce.clustering.matrix.DialogMatrixFloat;
import edu.psu.geovista.app.hce.clustering.model.BCluster;

public abstract class AbstractLinkageMethod implements LinkageMethod {
    protected DialogMatrixFloat simMatrix;
    public abstract double similarity(BCluster cls1, BCluster cls2);

    public void setSimMatrix(DialogMatrixFloat simMatrix) {
        this.simMatrix = simMatrix;
    }
}
